package cn.stronglink.assetmanage.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Property;

/**
 * Created by chencongcong
 * on 2018/8/1
 */
@Entity
public class Cabinet {
    @Property
    private Long roomId;           //主键id
    @Property
    private String id_;
    @Property
    private String assetName;

    public String getAssetName() {
        return this.assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getId_() {
        return this.id_;
    }

    public void setId_(String id_) {
        this.id_ = id_;
    }

    public Long getRoomId() {
        return this.roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    @Keep
    public Cabinet(Long roomId, String id_, String assetName) {
        this.roomId = roomId;
        this.id_ = id_;
        this.assetName = assetName;
    }

    @Keep
    public Cabinet() {
    }
    @Override
    public String toString() {
        return assetName;
    }
}
